<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddExtraColumnToOpenShopSiteLocationExamineLogsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('open_shop_site_location_examine_logs', function (Blueprint $table) {
             $table->string('extra', 255)->default('')->after('content')->comment('其他信息');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('open_shop_site_location_examine_logs', function (Blueprint $table) {
             $table->dropColumn('extra');
        });
    }
}
